﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CycleCountClass.aspx.cs" Inherits="WMS6.Web.Configuration.CycleCountClass" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CycleCountClass</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script src="../Js/Verification.js" type="text/javascript"></script>    
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newCycleCountClass()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "CycleCountClass.aspx?from="+escape(from);
            return false;
        }
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }

        }
        
   </script>     
</head>
<body>
    <form id="F2281" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblDispatchRule" runat="server" 
                            CssClass="label_header" Text="循环盘点分类" 
                            meta:resourcekey="lblDispatchRule"></asp:Label></td>
                    <td><asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>" Enabled="False" 
                            onclick="btnGoBack_Click"   /></td>
                    <td><asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>"  
                            Enabled="False" AccessKey="n" OnClientClick="newCycleCountClass();" 
                            /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" Enabled="False" 
                            AccessKey="s" onclick="btnSave_Click" 
                               /></td>
                    <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>" 
                            Enabled="False"  AccessKey="d"
                            OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;" 
                            onclick="btnDelete_Click"    /></td>
                    <td><asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>" Enabled="False" 
                            AccessKey="c" onclick="btnCopy_Click" 
                             /></td>
                </tr>
            </table>
        </div>
        
        
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
            <div>
                <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                    meta:resourcekey="lblMsg"></asp:Label>
            </div>
            
            
            <div id="div_menu">
                <div style="float: left; width: 8px;">
                    <div class="tabL" id="divL1"></div>
                </div>
                <div style="float:left;" class="tabLabelCont tabCur"  id="divM1">
                    <asp:Label ID="one1" CssClass="hover" runat="server" 
                        meta:resourcekey="one1">常规</asp:Label></div>
                <div style="float: left; margin-right: 2px;">
                    <div class="tabR" id="divR1"></div>
                </div>    
            </div>
            
            
            <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                        <td width="180">
                             <asp:Label  ID="lblClassID" runat="server" CssClass="label" Text="循环盘点分类代码" 
                                 meta:resourcekey="lblClassID" ></asp:Label><span class="must_input">*</span>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                        <td>
                             <asp:TextBox ID="txtClassID" runat="server" CssClass="textbox" MaxLength="1" 
                                 meta:resourcekey="txtClassID"></asp:TextBox>
                         </td>
                         <td>
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
                     
                     <tr>
                        <td width="180">
                             <asp:Label  ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                                 meta:resourcekey="lblDescr" ></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                        <td>
                             <asp:TextBox ID="txtDescr" runat="server" CssClass="textbox" MaxLength="10" 
                                 meta:resourcekey="txtDescr"></asp:TextBox>
                         </td>
                         <td>
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
                     
                     <tr>
                        <td width="180">
                             <asp:Label  ID="lblCycleDay" runat="server" CssClass="label" Text="天数" 
                                 meta:resourcekey="lblCycleDay" ></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                        <td>
                             <asp:TextBox ID="txtCycleDay" runat="server" CssClass="textbox" MaxLength="10" 
                                 onblur="JavaScript:dataVer._Is123(this,'lblMsg')" 
                                 meta:resourcekey="txtCycleDay"></asp:TextBox>
                         </td>
                         <td>
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                     </tr>
                     
                     <tr>
                        <td width="180px">
                            <asp:Label ID="lblPosQtyVariance" runat="server" CssClass="label" 
                                Text="盘盈数量差异范围%" meta:resourcekey="lblPosQtyVariance"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblNegCntVariance" runat="server" CssClass="label" 
                                Text="盘亏数量差异范围%" meta:resourcekey="lblNegCntVariance"></asp:Label>
                        </td>
                     </tr>
                     <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtPosQtyVariance" runat="server" CssClass="textbox" 
                                onblur="JavaScript:dataVer._Is123OrX(this,'lblMsg')" 
                                meta:resourcekey="txtPosQtyVariance"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtNegCntVariance" runat="server" CssClass="textbox" 
                                onblur="JavaScript:dataVer._Is123OrX(this,'lblMsg')" 
                                meta:resourcekey="txtNegCntVariance"></asp:TextBox>
                        </td>
                     </tr>
                     
                     <tr>
                        <td width="180px">
                            <asp:Label ID="lblPosValueVariance" runat="server" CssClass="label" 
                                Text="正值金额差异范围" meta:resourcekey="lblPosValueVariance"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblNegValueVariance" runat="server" CssClass="label" 
                                Text="负值金额差异范围" meta:resourcekey="lblNegValueVariance"></asp:Label>
                        </td>
                     </tr>
                     <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtPosValueVariance" runat="server" CssClass="textbox" 
                                onblur="JavaScript:dataVer._Is123OrX(this,'lblMsg')" 
                                meta:resourcekey="txtPosValueVariance"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtNegValueVariance" runat="server" CssClass="textbox" 
                                onblur="JavaScript:dataVer._Is123OrX(this,'lblMsg')" 
                                meta:resourcekey="txtNegValueVariance"></asp:TextBox>
                        </td>
                     </tr>
                     <tr>
                        <td width="180px">
                            <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" 
                                meta:resourcekey="chkIsActive" />
                        </td>
                     </tr>
                 </table>
             </div>
            </div>
             <input type="hidden" id="hdnClassID" runat="server" >
                 <input id="hdnFlag" runat="server" type="hidden" value="0"></input>
                 </input>
                </input>
            </ContentTemplate>
        </asp:UpdatePanel>  
    </div>
    <input type="hidden" id="hdnFrom" runat="server" />
    </form>
</body>
</html>
